CREATE TABLE [dbo].[T_CUSTOMER]
(
[CUSTOMER_ID] [bigint] NOT NULL IDENTITY(1, 1),
[PERSON_ID] [bigint] NULL,
[CUSTOMER_STATUS] [bit] NOT NULL,
[CREATE_DATE] [datetime] NOT NULL,
[DISABLE_DATE] [datetime] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[T_CUSTOMER] ADD CONSTRAINT [PK__T_CUSTOM__1CE12D3750C671AE] PRIMARY KEY CLUSTERED  ([CUSTOMER_ID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[T_CUSTOMER] ADD CONSTRAINT [FK__T_CUSTOME__PERSO__5441852A] FOREIGN KEY ([PERSON_ID]) REFERENCES [dbo].[T_PERSON] ([PERSON_ID])
GO
